package com.toubutu.audio.vo;

import com.toubutu.audio.entity.VideoCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 戒躁
 * @date 2024/1/10
 */
@Data
public class VideoVo {
    @ApiModelProperty("视频id")
    private Integer videoId;

    @ApiModelProperty("视频编码")
    private String videoCode;

    @ApiModelProperty("视频名称")
    private String videoName;
    @ApiModelProperty("视频封面")
    private String videoCover;

    @ApiModelProperty("视频描述")
    private String videoDesc;

    @ApiModelProperty("上映时间")
    private LocalDate releaseTime;

    @ApiModelProperty("评分")
    private Double rate;

    @ApiModelProperty("视频地址")
    private String sourceSrc;

    @ApiModelProperty("上传时间")
    private LocalDateTime createTime;
    @ApiModelProperty("参演人员")
    private List<String> actor;
    @ApiModelProperty("导演")
    private List<String> director;
    @ApiModelProperty("父级视频分类")
    private VideoCategory parentCategory;
    @ApiModelProperty("视频分类")
    private VideoCategory category;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否多级")
    private Boolean  isMultiple;
    @ApiModelProperty("序号")
    private Integer seq;

    private List<VideoVo> children;

    private Integer rootId;

    private List<String> tagList;
    @ApiModelProperty("地区")
    private String area;
    @ApiModelProperty("语言")
    private String language;

    @ApiModelProperty("用户已收藏该视频")
    private Boolean isCollected;

}
